package com.zhou.org.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Positive;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author lang.zhou
 * @since 2022-08-23
 */
@Data
@ApiModel("用户修改个人信息模型")
public class UserChangeDto implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 姓名
     */
    @ApiModelProperty("真实名")
    @NotBlank(message = "真实名不能为空")
    @Size(max = 40)
    private String realName;

    /**
     * 性别
     */
    @ApiModelProperty("性别")
    @Positive
    private Integer sex;
    /**
     * 邮箱
     */
    @ApiModelProperty("邮箱")
    @Size(max = 50)
    private String email;
    /**
     * 电话
     */
    @ApiModelProperty("电话")
    @Size(max = 20)
    private String phone;


    @ApiModelProperty("简介")
    @Size(max = 100)
    private String description;


}
